package com.cqeec.gams.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.cqeec.gams.entity.Role;
import com.cqeec.gams.mapper.RoleMapper;
@Service
public class RoleServicelmpl implements Roleservice{
	@Autowired
	private RoleMapper roleMapper;

	@Override
	public long countAll() {
		return roleMapper.countAll();
	}

	@Override
	public List<Role> findAll() {
		return roleMapper.findAll();
	}

	@Override
	public void insert(Role role) {
		roleMapper.insert(role);
	}

	@Override
	public void update(Role role) {
		
	}

	@Override
	public void delete(String Id) {
		
	}

}
